package com.mindskip.xzs.mapper;

import com.mindskip.xzs.domain.Question;
import com.mindskip.xzs.domain.User;
import com.mindskip.xzs.repository.UserMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import java.util.List;

/**
 * Description:
 *
 * @author zhangjl
 * @date 2021/9/10 21:10
 */
@SpringBootTest
public class test {


    @Qualifier
    UserMapper userMapper;


    @Autowired
    QuestionMp questionMp;

    @Test
    public void demo1(){
        List<Question> questions = questionMp.selectList(null);
        System.out.println(questions.size());
    }
}
